package com.fuyao.cloud.asset.enums;

import com.fuyao.cloud.common.core.enums.BaseEnum;

/**
 * 状态枚举类
 *
 * @author lyhil
 */
public enum AssetStatusEnum implements BaseEnum {

	/**
	 * 草稿
	 */
	DRAFT("0", "草稿"),
	/**
	 * 处理中
	 */
	PROCESSING("1", "处理中"),
	/**
	 * 已审批
	 */
	APPROVE("2", "已审批"),
	/**
	 * 已完成
	 */
	FINISH("3", "已完成"),
	/**
	 * 作废
	 */
	INVALID("4", "作废");

	private String code;
	private String name;

	private AssetStatusEnum(String code, String name) {
		this.code = code;
		this.name = name;
	}

	@Override
	public String getCode() {
		return this.code;
	}

	@Override
	public String getName() {
		return this.name;
	}
}
